extends ../layout1

block content
    div.container
        div.jumbotron
            h1 圈子话题
            p This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information. Learn more
            p
                a.btn.btn-primary.btn-lg(href='#' role='btn') Learn more
        div.panel.panel-info
            div.panel-heading 话题列表
            ul.list-group
                li.list-group-item
                    a(href="#") Cras justo odio
                li.list-group-item
                    a(href="#") Cras justo odio
                li.list-group-item
                    a(href="#") Cras justo odio
                li.list-group-item
                    a(href="#") Cras justo odio

block current_js
    //内联script标签写法 注意后边有一个点
    script(type='text/javascript').
        console.log('15');
        $(function () {
            $("#btn").click(function () {
                var username = $('#username').val();
                var pwd = $("#password").val();
                $.post('/test/f/create',{'username':username,'pwd':pwd},function (res) {
                    console.log(res);
                });
            });
        });

